// import com.alibaba.druid.sql.dialect.oracle.ast.OracleSQLObjectImpl;
// import com.alibaba.druid.sql.dialect.oracle.visitor.OracleASTVisitor;

// import java.util.ArrayList;
// import java.util.List;

#include "OracleAlterTablespaceAddDataFile.h"
#include "OracleAlterTablespaceItem.h"
#include "OracleFileSpecification.h"
#include "../../../../../utils/listTran.h"
#include "../../visitor/OracleASTVisitor.h"

OracleAlterTablespaceAddDataFile::OracleAlterTablespaceAddDataFile()
{
  files = std::make_shared<std::list<OracleFileSpecification_ptr>>();
}
// @Override
void OracleAlterTablespaceAddDataFile::accept0(OracleASTVisitor_ptr visitor)
{
  if (visitor->visit(SharedObject(OracleAlterTablespaceAddDataFile)))
  {
    SQLObject_list_ptr tmp1 = ListTran::tran_class<OracleFileSpecification, SQLObject>(files);
    acceptChild(visitor, tmp1);
  }
  visitor->endVisit(SharedObject(OracleAlterTablespaceAddDataFile));
}

OracleFileSpecification_list_ptr OracleAlterTablespaceAddDataFile::getFiles()
{
  return files;
}

void OracleAlterTablespaceAddDataFile::setFiles(OracleFileSpecification_list_ptr files)
{
  this->files = files;
}
